package com.tool.rabbit;

import cn.hutool.json.JSONUtil;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author: liuwenju
 * @date: 2023/8/7 11:36
 * @version: 1.0
 */
@Data
@Accessors(chain = true)
@AllArgsConstructor
public class RabbitMsgBO {

    private String code;

    private String data;

    @Override
    public String toString() {
        return JSONUtil.toJsonStr(this);
    }
}
